from nicegui import ui
from 考试系统.数据交互层 import layoutTools
def wenchange(e):
    reslt.set_text(e.value)

with ui.row().classes('w-full'):
    ui.slider(min=0,max=100,on_change=wenchange)
    reslt = ui.label()

ui.run()